/* 消息输入组件样式 */
.message-input-container {
  padding: 20px 32px;
  background: #f8f9fa;
  border-top: 1px solid #e8eaed;
}

.input-form {
  margin-bottom: 12px;
}

.input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  background: #ffffff;
  border: 2px solid #e8eaed;
  border-radius: 24px;
  padding: 8px 16px;
  transition: border-color 0.2s;
}

.input-wrapper:focus-within {
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.message-input {
  flex: 1;
  border: none;
  outline: none;
  resize: none;
  font-size: 14px;
  line-height: 1.5;
  color: #202124;
  background: transparent;
  min-height: 20px;
  max-height: 120px;
  padding: 8px 0;
  font-family: inherit;
}

.message-input::placeholder {
  color: #9aa0a6;
}

.send-button {
  background: #4285f4;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.send-button:hover:not(.disabled) {
  background: #3367d6;
  transform: scale(1.05);
}

.send-button:active:not(.disabled) {
  transform: scale(0.95);
}

.send-button.disabled {
  background: #9aa0a6;
  cursor: not-allowed;
  transform: none;
}

.send-icon {
  font-size: 16px;
  color: white;
}

/* 快捷操作按钮 */
.quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.quick-action-button {
  background: #ffffff;
  border: 1px solid #e8eaed;
  color: #5f6368;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.quick-action-button:hover:not(:disabled) {
  background: #f1f3f4;
  border-color: #4285f4;
  color: #4285f4;
}

.quick-action-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .message-input-container {
    padding: 16px 20px;
  }
  
  .input-wrapper {
    padding: 6px 12px;
    gap: 8px;
  }
  
  .message-input {
    font-size: 16px; /* 防止iOS缩放 */
  }
  
  .send-button {
    width: 36px;
    height: 36px;
  }
  
  .send-icon {
    font-size: 14px;
  }
  
  .quick-actions {
    gap: 6px;
  }
  
  .quick-action-button {
    padding: 4px 8px;
    font-size: 11px;
  }
}
